package com.gxa.weixing.pc.service;

import com.gxa.weixing.core.exception.BusinessException;
import com.gxa.weixing.core.pojo.ExchangeRecord;
import com.gxa.weixing.core.pojo.ExchangeRecordVO;
import com.gxa.weixing.core.service.BaseService;

import java.util.List;
import java.util.Map;

public interface ExchangeRecordService extends BaseService<ExchangeRecord> {

    /**
     * 分页获取兑换商品的审核记录
     * @Author  lirucong
     * @Date 15:50 2022/1/9
     */
    List<ExchangeRecordVO> getByPage(Map<String,Object> map) throws BusinessException;

    /**
     * 分页获取兑换商品的审核记录
     * @Author  lirucong
     * @Date 15:50 2022/1/9
     */
    Integer getByPageCount(Map<String,Object> map);
}
